﻿<%@ Page Language="C#" MasterPageFile="../MasterPages/Normal.Master" AutoEventWireup="true"
    CodeBehind="Create.aspx.cs" Inherits="zdzh.zdmgr.UIL.wuyefeip.Create" %>

<asp:Content ID="ContentArea" ContentPlaceHolderID="MainContent" runat="server">
        <style type="text/css">
            .InfoContent li
            {
                min-height: 30px;
                line-height: 20px;
                float: left;
                margin:5px 0 5px 0;
            }
        </style>
        <script language="JavaScript" type="text/javascript" src="../js/preview.js"></script> 
        <div id="ScorllArea">
            <div class="InfoArea" style="min-width: 600px;">
                <div class="InfoHeader">物业收费
                    缴费时段：<asp:TextBox ID="TxtStartDate" runat="server"></asp:TextBox>
                    至<asp:TextBox ID="TxtUntilDate" runat="server"></asp:TextBox>

                    <asp:Button ID="BtnSave" runat="server" Text="保存" CssClass="Button" onclick="BtnSave_Click"/>
                    
                    <input class="Button" onclick="preview()" type="button" value="预览并打印" />
                </div>
                    <!--startprint-->
                <div class="InfoContentPrint">
                    <p align="center" style="width: 600px;">
                	<asp:Label ID="LblShouju" runat="server" Text="   翰隆物业缴费单   " Font-Size="XX-Large" 
                        Width="315px" Font-Bold="True" Font-Underline="True"></asp:Label>
                    <asp:Label ID="LblNo" runat="server" Text="No."></asp:Label></p>
                    <p align="center" style="width: 600px;">
                        <asp:Label ID="LblCompany" runat="server" Text="收款单位：翰隆物业" Width="20%"></asp:Label>
                        <asp:Label ID="LblCrc" runat="server" Text="1234567890123456" Width="60%"></asp:Label>
                        <asp:Label ID="LblDate" runat="server" Width="15%">2012年12月31日</asp:Label>
                    </p>
                    <table class="TableDataPrint">
			            <colgroup>
				            <col width="200px" />
				            <col width="120px" />
				            <col width="120px" />
				            <col width="160px" />
			            </colgroup>
                        <tr class="TableRow">
                            <td colspan="2">楼&nbsp; 号：<asp:Label ID="LblBuild" runat="server" Width="37%"></asp:Label>&nbsp;面&nbsp;积：<asp:Label 
                                    ID="LblArea" runat="server" Width="15%"></asp:Label></td>
                            <td colspan="2">交款人：<asp:Label ID="LblOwner" runat="server" Width="70%"></asp:Label></td>
                        </tr>
                        <tr class="TableRow">
                            <td>收&nbsp;&nbsp; 费&nbsp;&nbsp; 项&nbsp;&nbsp; 目</td>
                            <td>单&nbsp;&nbsp; 价</td>
                            <td>合&nbsp;&nbsp; 计</td>
                            <td>备&nbsp;&nbsp; 注</td>
                        </tr>
                        <tr class="TableRow">
                            <td>物&nbsp; 业&nbsp; 费</td>
                            <td>
                                <asp:Label ID="LblWuyeJia" runat="server"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="TxtWuyefei" runat="server" Width="90%" BorderStyle="None" 
                                    Style="text-align:center" AutoPostBack="True" 
                                    ontextchanged="TxtWuyefei_TextChanged"></asp:TextBox>
                            </td>
                            <td rowspan="5">
                                <asp:TextBox ID="TxtBeizhu" runat="server" Height="140px" Rows="5" Width="90%" 
                                    BorderStyle="None" MaxLength="50" TextMode="MultiLine"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="TableRow">
                            <td>取&nbsp; 暖&nbsp; 费</td>
                            <td>
                                <asp:Label ID="LblQunuanJia" runat="server"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="TxtQunuanfei" runat="server" Width="90%" BorderStyle="None" 
                                    Style="text-align:center" AutoPostBack="True" 
                                    ontextchanged="TxtQunuanfei_TextChanged"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="TableRow">
                            <td>二次供水费</td>
                            <td>
                                <asp:Label ID="LblGongshuiJia" runat="server"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="TxtGongshuifei" runat="server" Width="90%" BorderStyle="None" 
                                    Style="text-align:center" AutoPostBack="True" 
                                    ontextchanged="TxtGongshuifei_TextChanged"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="TableRow">
                            <td>
                                <asp:Label ID="LblDianti" runat="server" Text="电  梯  费"></asp:Label>
                            </td>
                            <td>
                                <asp:Label ID="LblDiantiJia" runat="server"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="TxtDiantifei" runat="server" Width="90%" BorderStyle="None" 
                                    Style="text-align:center" AutoPostBack="True" 
                                    ontextchanged="TxtDiantifei_TextChanged"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="TableRow">
                            <td colspan="2">总&nbsp; 计(大写)：<asp:Label ID="LblZongji" runat="server" Width="70%" Style="text-align:left"></asp:Label></td>
                            <td>
                                <asp:TextBox ID="TxtZongji" runat="server" Width="90%" BorderStyle="None" 
                                    Style="text-align:center" Enabled="False" ReadOnly="True"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                    <p>&nbsp;&nbsp;&nbsp; 
                        <asp:Label ID="LblKaipiao" runat="server" Text="开票人："></asp:Label>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        <asp:Label ID="LblShoukuanren" runat="server" Text="收款人：" Visible="False"></asp:Label>
                    </p>
                </div>
                    <!--endprint-->
            </div>
            <div id="ScorllFooter">
                
            </div>
        </div>
        <div id="Footer">
            <div class="ButtonArea">
                <input class="Button" onclick="location='Default.aspx'" type="button" value="取消" />
            </div>
        </div>

</asp:Content>
